.markdown-content {
  @apply text-gray-800 leading-relaxed;
}

/* 标题样式 */
.markdown-content h1 {
  @apply text-4xl font-bold mb-8 mt-6 text-gray-900 border-b pb-2;
}

.markdown-content h2 {
  @apply text-3xl font-semibold mb-6 mt-5 text-gray-900;
}

.markdown-content h3 {
  @apply text-2xl font-semibold mb-4 mt-4 text-gray-900;
}

.markdown-content h4 {
  @apply text-xl font-semibold mb-4 mt-4 text-gray-900;
}

/* 段落样式 */
.markdown-content p {
  @apply mb-4 text-base leading-7;
}

/* 列表样式 */
.markdown-content ul {
  @apply list-disc list-inside mb-4 pl-4;
}

.markdown-content ol {
  @apply list-decimal list-inside mb-4 pl-4;
}

.markdown-content li {
  @apply mb-2;
}

/* 链接样式 */
.markdown-content a {
  @apply text-blue-600 hover:text-blue-800 underline;
}

/* 引用样式 */
.markdown-content blockquote {
  @apply pl-4 border-l-4 border-gray-300 italic my-4 text-gray-600;
}

/* 代码样式 */
.markdown-content code {
  @apply bg-gray-100 rounded px-1 py-0.5 text-sm font-mono text-gray-800;
}

.markdown-content pre {
  @apply bg-gray-100 rounded-lg p-4 mb-4 overflow-x-auto;
}

.markdown-content pre code {
  @apply bg-transparent p-0 text-sm block;
}

/* 表格样式 */
.markdown-content table {
  @apply w-full border-collapse mb-4;
}

.markdown-content th {
  @apply bg-gray-100 border border-gray-300 px-4 py-2 text-left;
}

.markdown-content td {
  @apply border border-gray-300 px-4 py-2;
}

/* 水平线样式 */
.markdown-content hr {
  @apply my-8 border-t border-gray-300;
}

/* 图片样式 */
.markdown-content img {
  @apply max-w-full h-auto rounded-lg my-4;
}
